package com.service;

import java.util.List;

import com.dao.ContactNoteDao;
import com.entity.ContactNote;


public class ContactNoteService {
	ContactNoteDao dao = new ContactNoteDao();
	
	public void addnote(ContactNote cnote) {
		dao.addnote(cnote);
	}
	public List<ContactNote> findAll() {
		return dao.findAll();
	}
	public List<ContactNote> getByCid(String id) {
		return dao.getByCid(id);
	}
	public void deleteByCId(String id) {
		dao.deleteByCId(id);
	}
	
}
